package cn.client.data.localData.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 聊天消息实体
 */
@Entity(tableName = "chat_msg")
data class ChatMsgEntity (
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val senderId: Int,
    val senderName: String,
    val receiverId: Int,
    val content: String,
    val createAt: String  // 创建时间
)